#ifndef HTTPUTILS_H
#define HTTPUTILS_H

#include <QObject>
#include<QNetworkAccessManager>
#include<QNetworkReply>
class HttpUtils : public QObject
{
    Q_OBJECT
public:
    explicit HttpUtils(QObject *parent = nullptr);
    Q_INVOKABLE void replayFinished(QNetworkReply *reply);
    Q_INVOKABLE void connet(QString url);
private:
    QNetworkAccessManager *manager;
    QString Base_Url = "http://localhost:3000/";
signals:
    void replySignal(QString reply);

};

#endif // HTTPUTILS_H
